<template>
  <div class="container">
    <div class="header">客户画像</div>
    <div style="padding: 0 16px; margin-bottom: 20px">
      <!-- <el-row style="margin-bottom: 20px"> -->
      <el-row>
        <div class="title">
          <div>
            基础数据
            <span class="unit">单位：亿</span>
          </div>
          <div class="unit">财报日期：20220101</div>
        </div>
      </el-row>
      <!-- <el-row :gutter="20"> -->
      <el-col :span="7">
        <div class="first">
          <div class="first-title">资产负债</div>
          <div class="first-contnet">
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/fuzhai.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30000.8</p>
                <p class="title">资产总额：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/fuzhai.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30000.8</p>
                <p class="title">贷款总额：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/fuzhai.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30000.8</p>
                <p class="title">负债总额：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/fuzhai.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30000.8</p>
                <p class="title">存款总额：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/fuzhai.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30.01%</p>
                <p class="title">存贷比：</p>
              </div>
            </div>
          </div>
        </div>
      </el-col>
      <el-col :span="5">
        <div class="first">
          <div class="first-title">资产质量</div>
          <div class="second-content">
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/zhiliang.png" alt="" />
              </div>
              <div class="right">
                <p class="num">1.42%</p>
                <p class="title">不良贷款比例：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/zhiliang.png" alt="" />
              </div>
              <div class="right">
                <p class="num">2.96%</p>
                <p class="title">关注贷款比例：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/zhiliang.png" alt="" />
              </div>
              <div class="right">
                <p class="num">239.96%</p>
                <p class="title">拨备覆盖率：</p>
              </div>
            </div>
          </div>
        </div>
      </el-col>
      <el-col :span="7">
        <div class="first">
          <div class="first-title">盈利能力</div>
          <div class="three-contnet">
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/yingli.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30000.8</p>
                <p class="title">营业收入：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/yingli.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30000.8</p>
                <p class="title">净利润：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/yingli.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30000.8</p>
                <p class="title">利息净收入：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/yingli.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30%</p>
                <p class="title">资产收益率：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/yingli.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30000.8</p>
                <p class="title">手续费佣金净收入：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/yingli.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30%</p>
                <p class="title">净资产收益率：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/yingli.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30000.8</p>
                <p class="title">投资收益：</p>
              </div>
            </div>
          </div>
        </div>
      </el-col>

      <el-col :span="5">
        <div class="first">
          <div class="first-title">资本指标</div>
          <div class="fore-content">
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/yingli.png" alt="" />
              </div>
              <div class="right">
                <p class="num">3.8</p>
                <p class="title">资本净额：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/yingli.png" alt="" />
              </div>
              <div class="right">
                <p class="num">30000.8</p>
                <p class="title">一级资本净额：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/yingli.png" alt="" />
              </div>
              <div class="right">
                <p class="num">3%</p>
                <p class="title">资本充足率：</p>
              </div>
            </div>
            <div class="item">
              <div class="left">
                <img src="@/assets/style/360View/yingli.png" alt="" />
              </div>
              <div class="right">
                <p class="num">13.59%</p>
                <p class="title">核心资本充足率：</p>
              </div>
            </div>
            <!-- <div><span>资本净额：</span><i>3.8</i></div>
            <div><span>一级资本净额：</span><i>30000.8</i></div>
            <div><span>资本充足率：</span><i>3%</i></div>
            <div><span>核心资本充足率：</span><i>13.59%</i></div> -->
          </div>
        </div>
      </el-col>
      <!-- </el-row> -->
      <!-- </el-row> -->
      <!-- <el-row :gutter="20">
        <el-col :span="12">
          <div class="title">
            <div>客户走访</div>
            <div
              style="cursor: pointer"
              @click="$router.push('/visitManagement/customerVisit')"
            >
              <i class="el-icon-more"></i>
            </div>
          </div>
          <div class="content">
            <div class="content-header">
              <div><i class="el-icon-document"></i>债券分销；存单销售</div>
              <div>2020-04-18</div>
            </div>
          </div>
        </el-col>
        <el-col :span="12">
          <div class="title">
            <div>事件提醒</div>
            <div
              style="cursor: pointer"
              @click="$router.push('/platform/reminders')"
            >
              <i class="el-icon-more"></i>
            </div>
          </div>
          <div class="content">
            <div class="content-header">
              <div><i class="el-icon-bell"></i>该客户的授信期还有11天</div>
              <div>2020-04-18</div>
            </div>
          </div>
        </el-col>
      </el-row> -->
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.container {
  .header {
    background: #354060;
    line-height: 50px;
    padding-left: 20px;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
  }

  .title {
    line-height: 30px;
    border-left: 5px solid yellow;
    padding-left: 16px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;

    .unit {
      font-size: 12px;
      color: #d6dcff;
      margin-left: 10px;
    }
  }

  .first {
    border: 1px solid rgba(126, 163, 255, 0.3);
    height: 420px;

    .first-title {
      text-align: center;
      line-height: 50px;
      border-bottom: 1px solid rgba(126, 163, 255, 0.3);
    }

    .first-contnet {
      padding: 16px;
      font-size: 12px;
      display: flex;
      flex-wrap: wrap;

      .item {
        display: flex;
        width: 50%;
        margin: 20px 0px 0px 0px;
        padding-left: 25px;

        .left {
          img {
            width: 40px;
            margin-right: 10px;
            padding-top: 5px;
          }
        }

        .right {
          text-align: left;

          .num {
            font-size: 18px;
            font-weight: bold;
            color: #ffffff;
          }

          .title {
            font-size: 12px;
            border: none;
            padding: 0px;
          }
        }
      }
    }

    .second-content {
      padding: 16px;
      font-size: 12px;
      display: flex;
      flex-wrap: wrap;

      .item {
        display: flex;
        width: 100%;
        margin: 20px 0px 0px 60px;

        .left {
          img {
            width: 40px;
            margin-right: 10px;
            padding-top: 5px;
          }
        }

        .right {
          text-align: left;

          .num {
            font-size: 18px;
            font-weight: bold;
            color: #ffffff;
          }

          .title {
            font-size: 12px;
            border: none;
            padding: 0px;
          }
        }
      }
    }

    .three-contnet {
      padding: 16px;
      font-size: 12px;
      display: flex;
      flex-wrap: wrap;

      .item {
        display: flex;
        width: 50%;
        margin: 10px 0px;
        padding-left: 25px;

        .left {
          img {
            width: 40px;
            margin-right: 10px;
            padding-top: 5px;
          }
        }

        .right {
          text-align: left;

          .num {
            font-size: 18px;
            font-weight: bold;
            color: #ffffff;
          }

          .title {
            font-size: 12px;
            border: none;
            padding: 0px;
          }
        }
      }
    }

    .fore-content {
      padding: 16px;
      font-size: 12px;
      display: flex;
      flex-wrap: wrap;
      text-align: center;

      .item {
        display: flex;
        width: 150px;
        margin: 10px 0px 0px 60px;

        .left {
          img {
            width: 40px;
            margin-right: 10px;
            padding-top: 5px;
          }
        }

        .right {
          text-align: left;

          .num {
            font-size: 18px;
            font-weight: bold;
            color: #ffffff;
          }

          .title {
            font-size: 12px;
            border: none;
            padding: 0px;
          }
        }
      }
    }
  }

  .content {
    border: 1px solid rgba(126, 163, 255, 0.3);
    height: 200px;
    padding: 0 16px;

    .content-header {
      display: flex;
      justify-content: space-between;
      font-size: 14px;
      color: #fff;
      line-height: 30px;
      border-bottom: 1px solid rgba(126, 163, 255, 0.3);
    }
  }
}
</style>
